<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "dh_pointcontent".
 *
 * @property integer $ID
 * @property string $TitleIntact
 * @property string $Subheading
 * @property string $Keyword
 * @property string $Author
 * @property string $CopyFrom
 * @property string $Intro
 * @property string $Content
 * @property string $PaginationType
 * @property double $MaxCharPerPage
 * @property string $Stars
 */
class DhPointcontent extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'dh_pointcontent';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['ID'], 'required'],
            [['ID'], 'integer'],
            [['Intro', 'Content'], 'string'],
            [['MaxCharPerPage'], 'number'],
            [['TitleIntact', 'Subheading', 'Keyword', 'Author', 'CopyFrom', 'PaginationType', 'Stars'], 'string', 'max' => 255]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'ID' => 'ID',
            'TitleIntact' => 'Title Intact',
            'Subheading' => 'Subheading',
            'Keyword' => 'Keyword',
            'Author' => 'Author',
            'CopyFrom' => 'Copy From',
            'Intro' => 'Intro',
            'Content' => 'Content',
            'PaginationType' => 'Pagination Type',
            'MaxCharPerPage' => 'Max Char Per Page',
            'Stars' => 'Stars',
        ];
    }
}
